// 头部导航配置
const navConf = require('./config/nav')
// 侧边栏
const sideBraConf = require('./config/sidebraConf')
// 插件
const pluginConf = require('./config/pluginConf')

module.exports = {
    "title": "To Share",
    "description": "分享风雨，享受阳光",
    "dest": "./share/",
    "base": "/share/",
    "head": [
        [
            "link",
            {
                "rel": "icon",
                "href": "/favicon.ico"
            }
        ],
        [
            "meta",
            {
                "name": "viewport",
                "content": "width=device-width,initial-scale=1,user-scalable=no"
            }
        ]
    ],
    "theme": "reco",
    "themeConfig": {
        noFoundPageByTencent: false, // 关闭腾讯公益404页面
        "nav": navConf,
        "subSidebar": 'auto',
        "sidebar": sideBraConf,
        "type": "blog",
        "blogConfig": {
            "category": {
                "location": 2,
                "text": "Category"
            },
            "tag": {
                "location": 3,
                "text": "Tag"
            }
        },
        // "friendLink": [
        //     {
        //         "title": "午后南杂",
        //         "desc": "Enjoy when you can, and endure when you must.",
        //         "email": "1156743527@qq.com",
        //         "link": "https://www.recoluan.com"
        //     },
        //     {
        //         "title": "vuepress-theme-reco",
        //         "desc": "A simple and beautiful vuepress Blog & Doc theme.",
        //         "avatar": "https://vuepress-theme-reco.recoluan.com/icon_vuepress_reco.png",
        //         "link": "https://vuepress-theme-reco.recoluan.com"
        //     }
        // ],
        "search": true,
        "searchMaxSuggestions": 10,
        "lastUpdated": "Last Updated",
        "authorAvatar": "/avatar.png",
        "record": "study",
        "startYear": "2018"
    },
    locales: {
        '/': {
            lang: 'zh-CN' // 将会被设置为 <html> 的 lang 属性
        }
    },
    plugins: pluginConf,
    "markdown": {
        "lineNumbers": true
    }
}